<template>
  <div class="shop-content template">
    <div class="height-100"></div>
    <div class="diy-bg-main home">
      <div class="diy-phone diy-bg-box">
        <div class="phone-body">
          <div class="phone-title"></div>
          <div class="phone-main main-box"></div>
        </div>
      </div>
      <div class="clearfix diy-box">
        <div class="diy-phone none-border">
          <div class="ui-sortable">
            <img class="width-per-100" :src="pageView" alt="">
            <div class="bottom-nav none-drag selected position-r">
              <ul class="flex v-align-c">
                <li class="flex-item" v-for="(item, index) in customPage.bottomNavList" :key="index">
                  <div class="flex-center height-50">
                    <div class="text-align-c">
                      <img
                        v-if="item.unselectIcon"
                        :src="item.unselectIcon"
                        class="width-24 mar-t-2" alt="">
                      <div class="font-12 mar-t--8">{{item.navName}}</div>
                    </div>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import pageView from '@/assets/images/page-view.png'
export default {
  props: {
    customPage: {
      type: Object,
      default: {}
    }
  },
  data() {
    return {
      pageView
    }
  },
  created() {
  },
  mounted() {},
  methods: {
  }
}
</script>

<style lang="less" scoped>
@sideWhite: 66px;
@sideSubWhite: 298px;
@sideRightWhite: 390px;
@height: 60px;
.bottom-nav{
  ul{
    margin: 0;
    padding: 0;
    li{
      list-style: none;
      margin: 0;
      padding: 0;
    }
  }
}
.shop-content{
  padding-left: @sideWhite + @sideSubWhite;
  padding-right: @sideRightWhite;
  box-sizing: border-box;
  &.template{
    padding-left: @sideWhite;
    /deep/ .el-row{
      padding: 0 4%;
    }
    .tem-1, .tem-2, .tem-3{
      width: 80%;
      max-width: 350px;
    }
  }
  .main-box{
    min-height: 600px!important;
    &.home{
      min-height: 640px!important;
    }
  }
  .diy-bg-main{
    position: relative;
    min-height: 670px;
    padding-top: 1px;
    padding-left: calc(50% - 188px);
    box-sizing: border-box;
    &.template{
      padding-left: 0;
    }
    &.home{
      min-height: 710px;
    }
  }
  .diy-bg-box{
    position: absolute;
    left: calc(50% - 188px);
    top: 0;
    z-index: 5;
  }
  .action-btns{
    position: absolute;
    left: calc(50% - 188px + 375px + 19px);
    top: 264px;
    z-index: 100;
    margin: 0;
    padding: 0;
    background: #fff;      
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(133, 133, 133, 0.2);
    li{
      list-style-type: none;
      width: 42px;
      height: 54px;
      cursor: pointer;
      &.position-btn{
        height: 44px;
      }
      span{
        width: 20px;
        height: 20px;
        background-size: 100% 100%;
      }
      &.up-btn{
        span{
          background: url('@/../../../../../assets/images/icons-up-1.png') no-repeat;
        }
        &.active span{
          background: url('@/../../../../../assets/images/icons-up-11.png') no-repeat;
        }
      }
      &.down-btn{
        span{
          background: url('@/../../../../../assets/images/icons-down-1.png') no-repeat;
        }
        &.active span{
          background: url('@/../../../../../assets/images/icons-down-11.png') no-repeat;
        }
      }
      &.copy-btn{
        span{
          background: url('@/../../../../../assets/images/icons-copy-1.png') no-repeat;
        }
        &.active span{
          background: url('@/../../../../../assets/images/icons-copy-11.png') no-repeat;
        }
      }
      &.setting-btn{
        span{
          background: url('@/../../../../../assets/images/icons-set-1.png') no-repeat;
        }
        &.active span{
          background: url('@/../../../../../assets/images/icons-set-11.png') no-repeat;
        }
      }
    }
  }
  .diy-box{
    width: 100%;
    .diy-phone{
      position: relative;
      z-index: 10;
    }
    .content-box{
      background-size: 100%;
      background-repeat: no-repeat;
    }
    .diy-scroll-box{
      width: 100%;        
      overflow: auto;
      overflow-x: hidden;
      height: 600px;
      &.scroll-pageType-10.scroll-appType-11{
        height: 640px;
      }
      &::-webkit-scrollbar {
        width: 4px;
      }
      &::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 5px #cccccc;
        background: #cccccc;
      }
      &::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 5px #cccccc;
        border-radius: 0;
        background: #cccccc;
      }
    }
  }
  .diy-editor {
    position: absolute;
    left: 330px;
    top: 204px;
    width: 660px;
    height: auto;
    background: #fdfdfd;
    padding: 15px 10px;
    margin-left: 18px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 0px;
    display: block;
    min-height: 80px;
    &.text-editor{
      width: 610px;
    }
  }
  .diy-editor .editor-arrow {
      height: 0;
      position: relative;
  }
  .diy-editor .editor-arrow::after, .diy-editor .editor-arrow::before {
      position: absolute;
      font-family: simsun;
      content: "◆";
      top: 8px;
      left: -21px;
      display: block;
      width: 9px;
      height: 18px;
      font-size: 24px;
      color: rgb(253, 253, 253);
      z-index: 111;
  }
  .diy-editor .editor-arrow:after {
      left: -22px!important;
      color: #ddd!important;
      z-index: 11!important;
  }
  .diy-editor .editor-arrow::after, .diy-editor .editor-arrow::before {
      position: absolute;
      font-family: simsun;
      content: "◆";
      top: 8px;
      left: -21px;
      display: block;
      width: 9px;
      height: 18px;
      font-size: 24px;
      color: rgb(253, 253, 253);
      z-index: 111;
  }
  .panel-height{
      min-height: 130px;
  }
  .action-panel{
      background: #fff;
      border: 1px solid #ddd;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      position: fixed;
      left: 578px;
      bottom: 100px;
      width: 840px;
      z-index: 1002;
  }
  @media screen and (max-width: 1045px) {
    .action-panel{
      left: 398px;
    }
  }
  .diy-phone {
      float: left;
      width: 375px;
      border: 1px solid #b8b8b8;
      border-radius: 0px;
      background: #fff;
      padding: 0px;
      overflow: hidden;
      &.none-border{
        border: none;
        background: none;
        margin: 0px 0 0 1px;
        border-radius: 0;
        width: 373px;
      }
  }
  .diy-phone .phone-title {
    height: 65px;
  }
  .home-carousel-box{
    position: relative;
    .carousel-none-point{
      width: 5px;
      height: 5px;
      border-radius: 50px;
      background-color: #ffffff;
      position: absolute;
      left: 50%;
      bottom: 12px;
      margin-left: -3px;
      z-index: 100;
    }
  }
  /deep/ .diy-phone .home-carousel{
    // background: #d6d6d6;
    img{
      width: 100%;
      height: 100%;
    }      
    .el-carousel__arrow{
      display: none;
    }
    .el-carousel__indicator{
      &.is-active{          
        .el-carousel__button{
          background-color: #ffffff;
        }
      }
      .el-carousel__button{
        width: 5px;
        height: 5px;
        border-radius: 50px;
        background-color: #989898;
        opacity: 1;
      }
    }
  }
  .diy-phone .picture-carousel-default{
    background: #81d5f9;
    min-height: 160px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .diy-phone .phone-top-bar{
    height: 40px;
    background: #fff;
    color: #333;
    cursor: default;
    overflow: hidden;
    position: relative;
    .search-shop{
      background: rgba(0, 0, 0, 0.2);
      border-radius: 100px;
    }
  }
  .diy-phone .phone-top-title{
    height: 65px;
    background: url('@/../../../../../assets/images/wx-top-3.png') 0 0 no-repeat;
    background-size: 100% auto;
    padding: 0 50px;
    font-size: 15px;
    color: #333333;
    text-align: center;
    line-height: 78px;
    cursor: default;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    &.title-type-w{
      background: url('@/../../../../../assets/images/wx-top-5.png') 0 0 no-repeat;
      background-size: 100% auto;
    }
    &.top-title-dark{
      color: #333333;
    }
    &.top-title-white{
      color: #fff;
      background: url('@/../../../../../assets/images/wx-top-4.png') 0 0 no-repeat;
      background-size: 100% auto;
    }
    &.text-align-l{
      padding: 0 50px 0 10px;
      text-align: left!important;
    }
  }
  .phone-t-info{
    h3{
      margin: 0;
      height: 51px;
      line-height: 1.4;
      font-size: 18px;
      overflow:hidden;
      text-overflow:ellipsis;
      display:-webkit-box;
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
      word-break:break-word;
    }
    p{
      margin: 0;
      font-size: 12px;
    }
  }
  .diy-phone .phone-main {
      min-height: 280px;
      background: #fff;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
  }
  .drag-box{
    position: relative;
    // 悬浮按钮样式
    &.floatbtn-drag{
      position: absolute;
      right: 14px;
      bottom: 45px;
      z-index: 1000;
      .diy-content{
        background: none;
        ul{
          li{
            display: block;
            &.list-b-2{
              &:first-child{
                margin-bottom: 10px;
              }
            }
            img{
              border-radius: 100px;
            }
          }
        }
      }
    }
  }
  .drag {
    position: relative;
    min-height: 20px;
    height: auto;
    line-height: 1.3;
    display: block;
    overflow: hidden;
    &:after{
      content: '';
      display: block;
      clear: both;
      font-size: 0;
    }
  }
  .none-drag.selected:before, .none-drag:hover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #409eff;
    cursor: move;
    z-index: 10;
  }
  .drag.selected:before, .drag:hover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #409eff;
    cursor: move;
    z-index: 10;
  }
  .drag-btns-box{
    /deep/ .el-carousel__indicators{
      display: none;
    }
  }
  .diy-content {
    min-height: 200px;
    display: block;
    margin: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
    line-height: 1.3;
    // background: #fff;
    text-align: center;
    &.diy-p-content{
      min-height: 20px!important;
    }
    &.diy-t-bar{
      min-height: unset;
    }
    &.diy-t-content{
      min-height: 80px!important;
    }
    &.diy-btns-content{
      // padding: 20px 0 0!important;
      min-height: auto!important;        
      &:nth-child(2){
        padding: 17px 0 0!important;
      }
      &.diy-txts-content{
        &:nth-child(2){
          padding: 0!important;
        }
      }
      li{
        box-shadow: 0 0 0;
        margin-bottom: 0;
        .btns-radius-10{
          border-radius: 100px;
        }
        .btns-radius-11{
          border-radius: 6px;
        }
        .btns-radius-12{
          border-radius: 0px;
        }
      }
    }
    &.text-valign-l{
      text-align: left!important;
      padding: 0 10px!important;
      .text-valign-c{
        text-align: center!important;
      }
    }
    &.picture-default{
      background: #81d5f9;
      min-height: 200px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    &.audio-box{
      min-height: auto;
      padding: 0 15px;
      .audio-bar{
        text-align: left!important;
        background: #fcfcfc;
        border: #e0e0e0 1px solid;
        border-radius: 5px;
        font-size: 12px;
        color: #888888;
        margin: 20px 0px;
        img{
          margin-right: 15px;
        }
        h5{
          margin: 10px 0 5px 0;
          font-size: 14px;
          color: #333333;
          height: 20px;
          line-height: 1.3;
          overflow:hidden;
          text-overflow:ellipsis;
          display:-webkit-box;
          -webkit-line-clamp:1;
          -webkit-box-orient:vertical;
          word-break:break-word;
        }
        p{
          margin: 0;
          font-size: 12px;
          color: #999999;
        }
      }
    }
  }
  .diy-goods{
    text-align: left;
    margin-bottom: 10px!important;
    float: left;
    &.width-per-50{
      width: 48%;
      margin-left: 1%!important;
      margin-right: 1%!important;
      background: #fff;
    }
    &.width-per-100{
      background: #fff;
    }
    p{
      font-size: 14px;
      margin: 0 0 7px 0;
      padding: 0 10px;
      box-sizing: border-box;
      height: 30px;
      line-height: 30px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      word-break: break-word;
    }
    .price-bar{
      font-size: 14px;
      color: #ff3131;
      padding: 0 10px 10px 10px;
      height: 32px;
      label{
        border: #ff3131 1px solid;
        border-radius: 3px;
        padding: 0px 12px;
        height: 30px;
        line-height: 30px;
      }
    }
  }
  .btn-edit-del {
    width: 30px;
    height: 30px;
    overflow: hidden;
    position: absolute;
    right: 0px;
    top: 0px;
    display: block;
    z-index: 90;
    font-size: 14px;
    text-align: right;
    display: none;
    &.selected{
      display: block;
    }
  }
  .btn-edit-del > div {
    width: 16px;
    height: 16px;
    display: inline-block;
    text-indent: -100em;
    text-align: left;
    font-size: 10px;
    color: #333;
    cursor: pointer;
    position: relative;
    z-index: 11;
    background: url('@/../../../../../assets/images/icons-close-1.png') no-repeat;
    background-size: 16px 16px;
  }
  .goods-default{
    background: #fe8096;
    min-height: 145px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  // 商品组样式
  .drag-box{
    ul{
      padding: 0;
      margin: 0;
      li{
        list-style-type: none;
      }
    }
    &.goods-list{
      ul{
        padding: 0 0px;
        margin: 0; 
        &:after{
          content: '';
          display: block;
          clear: both;
          font-size: 0;
        }
        .show-more{
          width: 100%;
          text-align: center;
          // border: 1px solid #e2e2e2;
          border-radius: 4px;
          height: 32px;
          line-height: 32px;
          margin-bottom: 15px;
          float: left;
        }
        &.show-type-10{
          li{
            .default-pic-bar{
              .gooods-pic{
                text-align: center;
                background: #fe8096;
                height: 190px;
                img{
                  margin-top: 50px;
                  width: 90px;
                  height: 90px;
                  display: inline-block;
                }
              }
            }
            .detail-box{
              padding: 12px 12px 8px 12px;
            }
            .gooods-pic{
              img{
                width: 100%;
                height: 190px;
                border-top-left-radius: 4px;
                border-top-right-radius: 4px;
              }
              &.pos-rel{
                &.del-show{
                  .del-layer-bg{
                    border-top-left-radius: 4px;
                    border-top-right-radius: 4px;
                  }
                  .del-layer{
                    &.stock-none{
                      label{
                        margin-top: 12%;
                      }
                    }
                    label{
                      width: 100px;
                      height: 100px;
                      line-height: 100px;
                      font-size: 24px;
                      margin-top: 8%;
                    }
                    p{
                      font-size: 15px;
                      margin-top: 3%;
                    }
                  }
                }
              }
            }
          }
        }
        &.show-type-11{
          li{
            width: calc((100% - 15px) / 2);
            float: left;
            .default-pic-bar{
              .gooods-pic{
                text-align: center;
                background: #fe8096;
                height: 162px;
                img{
                  margin-top: 35px;
                  width: 90px;
                  height: 90px;
                  display: inline-block;
                }
              }
            }
            &:nth-child(odd){
              margin-right: 15px;
            }
            .detail-box{
              padding: 8px 10px 5px 10px;
            }
            .desc{
              margin-bottom: 8px!important;
            }
            .gooods-pic{
              img{
                width: 100%;
                height: 162px;
                border-top-left-radius: 4px;
                border-top-right-radius: 4px;
              }
              &.pos-rel{
                &.del-show{
                  .del-layer-bg{
                    border-top-left-radius: 4px;
                    border-top-right-radius: 4px;
                  }
                  .del-layer{
                    &.stock-none{
                      label{
                        margin-top: 26%;
                      }
                    }
                    label{
                      width: 70px;
                      height: 70px;
                      line-height: 70px;
                      font-size: 16px;
                      margin-top: 18%;
                    }
                    p{
                      font-size: 12px;
                      margin-top: 6%;
                    }
                  }
                }
              }
            }
            .buy-now-type{
              display: none;
            }
            .height-s-item{
              height: 19px;
              margin-bottom: -1px; 
            }
            .price{
              .label-s{
                display: none;              
              }
            }
            button.remove-type{
              font-size: 10px;
              padding: 4px 6px;
              margin-right: -4px;
            }
            .info-bar{
              .remove-type{
                display: none!important;
              }
            }
            .line-item.remove-type{
              display: inline-block!important;
            }
            .last-item.remove-type{
              display: none!important;
            }
          }
        }
        &.show-type-12{
          li{
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            flex-flow: row;
            align-items: center;
            padding: 10px 10px;
            .default-pic-bar{
              .gooods-pic{
                text-align: center;
                background: #fe8096;
                width: 100px;
                height: 100px;
                img{
                  margin-top: 5px;
                  width: 90px!important;
                  height: 90px!important;
                  display: inline-block;
                }
              }
            }
            .pic-box{
              margin-right: 6px;
              .gooods-pic{
                img{
                  width: 100px;
                  height: 100px;
                }
                &.pos-rel{
                  &.del-show{
                    .del-layer{
                      &.stock-none{
                        label{
                          margin-top: 22%;
                        }
                      }
                      label{
                        width: 50px;
                        height: 50px;
                        line-height: 50px;
                        margin-top: 14%;
                        font-size: 13px;
                      }
                      p{
                        font-size: 10px;
                        margin-top: 5%;
                      }
                    }
                  }
                }
              }
            }
            .detail-box{
              padding: 0px 2px 0px 7px;
              -webkit-box-flex: 1;
              -webkit-flex: 1;
              flex: 1;
            }
            .tag{
              span{
                padding: 1px 5px!important;
              }
            }
            .price{
              .label-s{
                display: none;
              }
            }
            .stock{
              display: none;
            }
            .info-bar{
              &.true{
                .buy-now-type{
                  display: none!important;
                }
              }
              .remove-type.line-item{
                display: none!important;
              }
              .remove-type{
                display: block!important;
              }            
            }            
            .last-item{
              display: none!important;
            }
          }
        }
        &.show-type-13{
          li{
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            flex-flow: row;
            align-items: center;
            padding: 10px 10px;
            .default-pic-bar{
              .gooods-pic{
                text-align: center;
                background: #fe8096;
                width: 122px;
                height: 122px;
                img{
                  margin-top: 16px;
                  width: 90px!important;
                  height: 90px!important;
                  display: inline-block;
                }
              }
            }
            &:nth-child(even){
              .pic-box{
                &.even{
                  display: none;
                }
                &.odd{
                  display: block;
                  margin-right: 0;
                  margin-left: 14px;
                }                
              }
            }
            &:nth-child(odd){
              .pic-box{
                &.even{
                  display: block;                
                }
                &.odd{
                  display: none;
                }
              }
            }
            .desc{
              margin-bottom: 6px!important;
            }
            .pic-box{
              margin-right: 14px;              
              .gooods-pic{
                img{
                  width: 122px;
                  height: 122px;
                }
                &.pos-rel{
                  &.del-show{
                    .del-layer{
                      &.stock-none{
                        label{
                          margin-top: 26%;
                        }
                      }
                      label{
                        width: 50px;
                        height: 50px;
                        line-height: 50px;
                        margin-top: 20%;
                        font-size: 13px;
                      }
                      p{
                        font-size: 10px;
                        margin-top: 5%;
                      }
                    }
                  }
                }
              }
            }
            .detail-box{
              -webkit-box-flex: 1;
              -webkit-flex: 1;
              flex: 1;
              padding: 0px!important;
            }
            .desc{
              margin-bottom: 13px;
            }
            .tag{
              margin-top: -1px;
              margin-bottom: -2px;
              span{
                padding: 1px 5px!important;
              }
            }
            .price{
              .flex-item{
                .label-f{
                  display: flex;
                  flex-flow: row;
                  align-items: center;
                  margin-left: 0;
                }
                .tag-xs-t{
                  color: #292929;
                  display: inline-block;
                  vertical-align: bottom;
                  margin-bottom: -2px;
                }
                .label-s{
                  display: -webkit-box;
                  display: -webkit-flex;
                  display: flex;
                  margin-top: -6px;
                  margin-left: -2px;
                }
              }
            }
            .stock{
              display: none;
            }
            .info-bar{
              .remove-type{
                display: none!important;
              }
              .buy-now-type{
                display: none!important;
              }
            }            
            .last-item{
              display: inline-block!important;
              margin-top: 5px;
            }
          }
        }
        &.show-type-14{
          height: 253px;
          overflow: hidden;
          display: flex;
          flex-wrap: nowrap;
          .show-more{
            width: 32px;
            line-height: 1.2;
            text-align: center;
            // border: 1px solid #e2e2e2;
            border-radius: 4px;
            height: 241px;
            word-wrap: break-word;/*英文的时候需要加上这句，自动换行*/
            text-align: center;
            display: flex;
            -webkit-display: flex;
            flex-direction: column;
            justify-content: center;
            letter-spacing: -2px;
          }
          li{
            width: 42%;
            flex-shrink: 0;
            margin-right: 4.5%;
            .default-pic-bar{
              .gooods-pic{
                text-align: center;
                background: #fe8096;
                height: 142.38px;
                img{
                  margin-top: 35px;
                  width: 90px;
                  height: 90px;
                  display: inline-block;
                }
              }
            }
            .detail-box{
              padding: 8px 10px 5px 10px;
            }
            .desc{
              font-size: 13px;
              height: unset;
              margin-bottom: 24px!important;
              line-height: 1.3;
              overflow:hidden;
              color: #595959;
              text-overflow:ellipsis;
              display:-webkit-box;
              -webkit-line-clamp:1;
              -webkit-box-orient:vertical;
              word-break:break-word;
            }
            .gooods-pic{
              img{
                width: 100%;
                height: 142.38px;
                border-top-left-radius: 4px;
                border-top-right-radius: 4px;
              }
              &.pos-rel{
                &.del-show{
                  .del-layer-bg{
                    border-top-left-radius: 4px;
                    border-top-right-radius: 4px;
                  }
                  .del-layer{
                    &.stock-none{
                      label{
                        margin-top: 26%;
                      }
                    }
                    label{
                      width: 70px;
                      height: 70px;
                      line-height: 70px;
                      font-size: 16px;
                      margin-top: 18%;
                    }
                    p{
                      font-size: 12px;
                      margin-top: 6%;
                    }
                  }
                }
              }
            }
            .buy-now-type{
              display: none;
            }
            .height-s-item{
              height: 19px;
              margin-bottom: -1px; 
            }
            .price{
              margin-top: 9px;
              .label-s{
                display: none;              
              }
              .label-f{
                line-height: 1;
                font-weight: bold;
                span:last-child{
                  font-size: 18px;
                  span{
                    font-size: 13px;
                  }
                }
              }
            }
            button.remove-type{
              font-size: 10px;
              padding: 4px 6px;
              margin-right: -4px;
            }
            .info-bar{
              .remove-type{
                display: none!important;
              }
            }
            .line-item.remove-type{
              display: inline-block!important;
            }
            .last-item.remove-type{
              display: none!important;
            }
          }
        }
        .pos-rel{
          position: relative;
        }
        li{
          list-style-type: none;
          border-radius: 4px;
          // box-shadow: 0 4px 9px rgba(133, 133, 133, 0.2);
          overflow: hidden;
          margin-bottom: 13px;
          background-color: #ffffff;
          .buy-sty{
            width: 22px;
            height: 23px;
            background-size: 100% 100%!important;
            &.buy-sty-10{
              background: url(@/../../../../../assets/images/buy-sty-2.png) no-repeat;
            }
            &.buy-sty-11{
              background: url(@/../../../../../assets/images/buy-sty-1.png) no-repeat;
            }
          }
          .detail-box{
            padding: 12px;
          }
          .buy-now-type{
            background: #fed806!important;
            border: #fed806 1px solid!important;
            padding: 4px 9px;
            line-height: normal;
            color: #333!important;
            &:after{
              display: none;
            }
          }
          .remove-type{
            background: #292929!important;
            border: #292929 1px solid!important;
            padding: 4px 9px;
            line-height: normal;
            color: #fff!important;
            &:after{
              display: none;
            }
          }
          .pic-box{
            &.odd{
              display: none;
            }
          }
          .gooods-pic{
            &.pos-rel{
              &.del-show{
                .del-layer-bg{
                  display: block;
                  position: absolute;
                  left: 0;
                  top: 0;
                  width: 100%;
                  height: 100%;
                  background: rgba(0, 0, 0, 0.7);
                  z-index: 10;
                }
                .del-layer{
                  position: absolute;
                  left: 0;
                  top: 0;
                  width: 100%;
                  height: 100%;
                  z-index: 11;
                  text-align: center;
                  color: #fff;
                  display: block;
                  &.stock-none{
                    label{
                      margin-top: 18%;
                    }
                  }
                  label{
                    width: 50px;
                    height: 50px;
                    line-height: 50px;
                    margin-top: 15%;
                    font-size: 13px;                  
                    background: rgba(0, 0, 0, 0.7);
                    border: rgba(255, 255, 255, 0.7) 1px solid;
                    border-radius: 100px;            
                    display: inline-block;
                  }
                  p{
                    display: block;
                    font-size: 10px;
                    margin-top: 5%;
                  }
                }
              }
            }
            img{
              display: block;
            }
          }        
          .desc{
            height: 37px;
            line-height: 1.3;
            overflow:hidden;
            color: #595959;
            text-overflow:ellipsis;
            display:-webkit-box;
            -webkit-line-clamp:2;
            -webkit-box-orient:vertical;
            word-break:break-word;
          }
          .line-item{
            display: none;
          }
          .last-item{
            display: none;
          }
          .info-bar{
            >button{
              margin-bottom: 3px;
            }
            .tag{
              line-height: 1.3;
              .label-f{
                background: #fed807;
                color: #333;
                padding: 2px 5px;
              }
              .label-s{
                background: #272727;
                color: #fff;
                padding: 2px 5px;
                min-width: 60px;
                box-sizing: border-box;
                span{
                  color: #ffc81b;
                  font-style: normal;
                  &.income-label{
                    padding: 0!important;
                  }
                }
              }
            }
            .price{
              .tag-xs-t{
                display: none;
              }
              .label-f{
                color: #ff0000;
                span:last-child{
                  font-weight: bold;
                  span{
                    font-size: 13px;
                  }
                }
              }
              .label-s{
                color: #292929;
                text-decoration: line-through;
              }
            }
            .stock{
              color: #818181;
            }
            label{
              font-weight: normal;
            }
          }
        }
      }
    }
  }
  .diy-kill-content{
    text-align: left!important;
    background: none!important;
    .title-bar{        
      h2{
        height: 7px;
        background-color: yellow;
        padding: 0 3px;
        // background: url(../../../assets/images/title-bg.png) bottom repeat-x;
        .small-title{
          max-width: 76px;
          font-size: 18px;
          height: 18px;
          overflow: hidden;
          margin-top: -14px;
        }
      }
    }
    .timer{
      .timer-t{
        color: #666;
      }
      span{
        background: #fed806;
        color: #333;
        font-size: 13px;
        border-radius: 4px;
        padding: 2px;
      }
      i{
        font-style: normal;
        padding: 2px 3px;
      }
    }
    .more-seck{
      font-size: 12px;
      color: #999;
      .iconfont{
        font-size: 13px;
      }
    }
  }
}
</style>
